package redteam.grabthegreen;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class InvitePopup extends Activity {
	@Override
    public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
		setContentView(R.layout.invitepopup);

		TextView inviteMsg = (TextView)findViewById(R.id.invitemsg);
		inviteMsg.setText("");

		Button createGameButton = (Button)findViewById(R.id.join);
		createGameButton.setText("Join");
		createGameButton.setOnClickListener(new Button.OnClickListener() {
        	public void onClick(View v) {
        		//startSubActivity(new Intent(MainWindow.this, SetupWindow.class), 0);
        	}
        });
		Button quitButton = (Button)findViewById(R.id.decline);
		quitButton.setText("Decline");
		quitButton.setOnClickListener(new Button.OnClickListener() {
			public void onClick(View v) {
				//quit the fuckin game
			}
		});
	}
}
